package com.greenold.check.domain.Vo;

import com.greenold.check.domain.Checkin;
import com.greenold.commen.domain.Elder;

public class CheckinVo extends Checkin {
    private Elder elder;

    public Elder getElder() {
        return elder;
    }

    public void setElder(Elder elder) {
        this.elder = elder;
    }
    public CheckinVo(Elder elder, Checkin checkin) {
        this.elder = elder;
        this.setId(checkin.getId());
        this.setCode(checkin.getCode());
        this.setTitle(checkin.getTitle());
        this.setElderId(checkin.getElderId());
        this.setBusinessId(checkin.getBusinessId());
        this.setConsultant(checkin.getConsultant());
        this.setCheckinTime(checkin.getCheckinTime());
    }
    public CheckinVo() {
    }
    @Override
    public  String toString() {
        return super.toString();
    }
}
